package Entities;

import Equipment.Equipment;

/**
 * Basic entity for a Player. Inherits RPGEntity.
 * @author Phillip
 */
public class PlayerEntity extends RPGEntity
{
	private String className;
	private Inventory bags;
	private Equipment equipment;

	/**
	 * Constructor for PlayerEntity
	 * @param incID Player's ID
	 * @param incName player's Class Name
	 * TODO: Maybe do something to make this not so...stringy. =P
	 * @param incInv
	 * @param incEquip
	 * 
	 */
	public PlayerEntity(int incID, String incName, Inventory incInv, Equipment incEquip)
	{
		super(incID);
		this.className = incName;
		this.bags = incInv;
		this.equipment = new Inventory();
		this.className = "";
		this.bags = new Inventory();
		this.equipment = new Equipment();
	}
	
	/* Methods */
	public void save(){
		//Logic to save character.
	}
	
	public void load(String statFields){
		//Logic to load character.
	}
	
	public boolean equipItem(EquipSlot whichSlot){
		//Logic to equip item
	}
	
	public boolean unequipItem(EquipSlot whichSlot){
		//Logic to unequip item
	}
	
	public boolean hasGearEquipped(EquipSlot whichSlot){
		//Logic to check what's in whichSlot
	}
	
}
